<?php

$this->Html->script(array('jquery.maskedinput-1.2.2.min','maskinput'), false);

echo '<fieldset><legend>Dados</legend>';
echo $this->Form->create('Banco');
echo $this->Form->input('id');
echo $this->Form->input('nome',array('type'=>'text','class' => 'tamanho50', 'label'=> __('Nome'),'maxlength'=>100)); 
echo $this->Form->input('agencia',array('type'=>'text','class' => 'tamanho10', 'label'=> __('Agência'),'maxlength'=>10));
echo $this->Form->input('operacao',array('type'=>'text','class' => 'tamanho10', 'label'=> __('Operação'),'maxlength'=>3));
echo $this->Form->input('conta',array('type'=>'text', 'label'=> __('Conta Corrente'),'maxlength'=>10));
echo $this->Form->input('digito',array('type'=>'text','class' => 'tamanho1', 'label'=> __('Digito'),'maxlength'=>1));
echo $this->Form->input('telefone',array('class' => 'masktelefone tel', 'label' => __('Telefone')));
echo $this->Form->input('gerente',array('type'=>'text','class' => 'tamanho50', 'label'=> __('Gerente'),'maxlength'=>100));
echo '<div class="botoes_form">';
echo $this->Form->button('Salvar', array('type' => 'submit'));
echo $this->Form->button('Voltar', array('type'=>'button', 'onClick' => "javascript:location='{$this->request->base}/{$this->request->controller}/index'"));
echo '</div>'; 
echo $this->Form->end();
echo '</fieldset>';